<html>
  <head>
    <title>
      JavaScript Example 1 -- Hello World
    </title>
<script type="text/javascript" src="https://namespace-js.googlecode.com/hg/src/namespace.js"></script>
<script type="text/javascript">
    system.namespace.UseNamespace("com.mycompany.mypackage")
    com.mycompany.mypackage.MyClass = function(){
      alert(" My Class Constructor Called ");
    };
    
    var instance = new com.mycompany.mypackage.MyClass();
    
</script>

  </head>
  <body>
  </body>
</html>
